package com.tinymall.service;

import com.tinymall.common.pojo.dto.UserDTO;
import com.tinymall.common.pojo.vo.UserVO;

/**
 * @Description: UserService
 * @Author: TX
 * @Date: 2022/7/5 9:48
 * @Version: V1.0.0
 */

public interface IUserService {
    // 注册一个用户
    void reg(UserDTO userDTO);
    // 用户登录，如果登录成功则返回一个jwt
    UserVO login(UserDTO userDTO);
}
